package com.jbp.model;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 技能(Skill)实体
 * @author cc
 * @since 2020-11-19 17:06:55
 */
@ApiModel(value="Skill")
@Data
public class Skill implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //分类id
    @ApiModelProperty(value="分类id")    
    
    private Integer cateId;

    //名称
    @ApiModelProperty(value="名称")    
    
    private String name;

    //图标
    @ApiModelProperty(value="图标")    
    
    private String image;

    //排序
    @ApiModelProperty(value="排序")    
    
    private Integer sort;

    //状态
    @ApiModelProperty(value="状态 1默认  2审核 3通过 4失败")
    
    private Integer status;
    //状态
    @ApiModelProperty(value="热门")
    private Integer hot;

    //要求
    @ApiModelProperty(value="要求")
    private String requirement;

    @ApiModelProperty(value="价格单位")
    private String priceUnit;

    //创建时间
    @ApiModelProperty(value="创建时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date createTime;


    @TableField(exist = false)
    List<SkillParam> params;

    @TableField(exist = false)
    List<SkillParamGroup> paramGroups;
}